/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package it.unisa.offerta_formativa.moodle.moodle_rest;

import java.io.Serializable;

/**
 *
 * @author root
 */
public enum DescriptionFormat implements Serializable {
  
  MOODLE(0),
  HTML(1),
  PLAIN(2),
  MARKDOWN(4);

  private Integer value;

  private DescriptionFormat(Integer value) {
    this.value=value;
  }
  
  public Integer toInt() {
    return value;
  }
  
}
